home *** CD-ROM | disk | FTP | other *** search
/ Daddy Day Care Press Kit / Daddy Day Care Press Kit.iso / mac / Acrobat Reader 5 PC / plug_ins / AcroFill.api / EXVW / 6400 < prev   
Text File  |  2002-12-14  |  3KB  |  85 lines

  1. gMaxWidthFieldCheckBox=max(
  2.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Select/All'),
  3.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Select/Except'),
  4.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Select/Only'));
  5. gMaxWidthDateFormat=max(
  6.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Date/ClusterName'),
  7.     zstring_width(zstring: '$$$/Dialogs/PropsSubmit/Date/Convert'));
  8. dialog(name: '$$$/Dialogs/PropsSubmit', target_id: 'eURL')
  9. {
  10.     group()
  11.     {
  12.         view(align_children: align_left)
  13.         {
  14.             view(align_children: align_left)
  15.             {
  16.                 static_text(item_id: 'txt1', name: '$$$/Dialogs/PropsSubmit/StaticURL');
  17.                 edit_text(item_id: 'eURL', width: max_char_width() * 30, PopupEdit: true);
  18.             }            
  19.             view(align_children: align_top)
  20.             {
  21.                 cluster(item_id: 'clu1', name: '$$$/Dialogs/PropsSubmit/Export/ClusterName', align_children: align_left)
  22.                 {
  23.                     group()
  24.                     {
  25.                         radio(item_id: 'rad1', name: '$$$/Dialogs/PropsSubmit/Export/FDF');                        
  26.                             view(align_children: align_row)
  27.                             {    gap(width: max_char_width()*1);
  28.                                 check_box(item_id: 'box1', name: '$$$/Dialogs/PropsSubmit/FDF/Data');
  29.                             }
  30.                             view(align_children: align_row)
  31.                             {    gap(width: max_char_width()*1);
  32.                                 check_box(item_id: 'box2', name: '$$$/Dialogs/PropsSubmit/FDF/Annots');
  33.                             }
  34.                             view(align_children: align_row)
  35.                             {    gap(width: max_char_width()*1);
  36.                                 check_box(item_id: 'box3', name: '$$$/Dialogs/PropsSubmit/FDF/Changes');
  37.                             }
  38.                         radio(item_id: 'rad2', name: '$$$/Dialogs/PropsSubmit/Export/HTML');                    
  39.                         radio(item_id: 'rad3', name: '$$$/Dialogs/PropsSubmit/Export/XML');                    
  40.                             view(align_children: align_row)
  41.                             {    gap(width: max_char_width()*1);
  42.                                 check_box(item_id: 'box4', name: '$$$/Dialogs/PropsSubmit/XML/Data');
  43.                             }
  44.                             view(align_children: align_row)
  45.                             {    gap(width: max_char_width()*1);
  46.                                 check_box(item_id: 'box5', name: '$$$/Dialogs/PropsSubmit/XML/Annots');
  47.                             }
  48.                         radio(item_id: 'rad4', name: '$$$/Dialogs/PropsSubmit/Export/PDF');                    
  49.                     }
  50.                 }
  51.                 view(align_children: align_fill)
  52.                 {
  53.                     cluster(item_id: 'clu2', name: '$$$/Dialogs/PropsSubmit/Field/ClusterName', align_children: align_left)
  54.                     {
  55.                         group()
  56.                         {
  57.                             radio(item_id: 'rad5', name: '$$$/Dialogs/PropsSubmit/Select/All', width: gMaxWidthFieldCheckBox);                        
  58.                             view(align_children: align_row)
  59.                             {
  60.                                 radio(item_id: 'rad6', name: '$$$/Dialogs/PropsSubmit/Select/Except', width: gMaxWidthFieldCheckBox);                    
  61.                                 button(item_id: 'but1', name: '$$$/Dialogs/PropsSubmit/Select/Fields');
  62.                             }
  63.                             view(align_children: align_row)
  64.                             {
  65.                                 radio(item_id: 'rad7', name: '$$$/Dialogs/PropsSubmit/Select/Only', width: gMaxWidthFieldCheckBox);                    
  66.                                 button(item_id: 'but2', name: '$$$/Dialogs/PropsSubmit/Select/Fields');
  67.                             }
  68.                         }
  69.                         check_box(item_id: 'box6', name: '$$$/Dialogs/PropsSubmit/Field/Empty');
  70.                     }
  71.                     cluster(item_id: 'clu3', name: '$$$/Dialogs/PropsSubmit/Date/ClusterName', align_children: align_left)
  72.                     {
  73.                         check_box(item_id: 'box7', name: '$$$/Dialogs/PropsSubmit/Date/Convert');
  74.                         view(align_children: align_row)
  75.                         {    gap(width: max_char_width()*1);
  76.                             static_text(item_id: 'rrrr', width: gMaxWidthDateFormat, height: gStaticTextHeight * 4);
  77.                         }
  78.                     }
  79.                 }
  80.             }
  81.             ok_cancel();
  82.         }
  83.     }
  84. }
  85.